Optimal. Leaf size=156 \[ \frac{x (a e+3 b d)}{8 a^2 b \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{x (b d-a e)}{4 a b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left (a+b x^2\right ) (a e+3 b d) \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{8 a^{5/2} b^{3/2} \sqrt{a^2+2 a b x^2+b^2 x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0894809, antiderivative size = 156, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {1148, 385, 199, 205} \[ \frac{x (a e+3 b d)}{8 a^2 b \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{x (b d-a e)}{4 a b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left (a+b x^2\right ) (a e+3 b d) \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{8 a^{5/2} b^{3/2} \sqrt{a^2+2 a b x^2+b^2 x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1148
Rule 385
Rule 199
Rule 205
Rubi steps
\begin{align*} \int \frac{d+e x^2}{\left (a^2+2 a b x^2+b^2 x^4\right )^{3/2}} \, dx &=\frac{\left (b^2 \left (a b+b^2 x^2\right )\right ) \int \frac{d+e x^2}{\left (a b+b^2 x^2\right )^3} \, dx}{\sqrt{a^2+2 a b x^2+b^2 x^4}}\\ &=\frac{(b d-a e) x}{4 a b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left ((3 b d+a e) \left (a b+b^2 x^2\right )\right ) \int \frac{1}{\left (a b+b^2 x^2\right )^2} \, dx}{4 a \sqrt{a^2+2 a b x^2+b^2 x^4}}\\ &=\frac{(3 b d+a e) x}{8 a^2 b \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{(b d-a e) x}{4 a b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left ((3 b d+a e) \left (a b+b^2 x^2\right )\right ) \int \frac{1}{a b+b^2 x^2} \, dx}{8 a^2 b \sqrt{a^2+2 a b x^2+b^2 x^4}}\\ &=\frac{(3 b d+a e) x}{8 a^2 b \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{(b d-a e) x}{4 a b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{(3 b d+a e) \left (a+b x^2\right ) \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{8 a^{5/2} b^{3/2} \sqrt{a^2+2 a b x^2+b^2 x^4}}\\ \end{align*}
Mathematica [A] time = 0.0532503, size = 108, normalized size = 0.69 \[ \frac{\sqrt{a} \sqrt{b} x \left (a^2 (-e)+a b \left (5 d+e x^2\right )+3 b^2 d x^2\right )+\left (a+b x^2\right )^2 (a e+3 b d) \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{8 a^{5/2} b^{3/2} \left (a+b x^2\right ) \sqrt{\left (a+b x^2\right )^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 186, normalized size = 1.2 \begin{align*}{\frac{b{x}^{2}+a}{8\,{a}^{2}b} \left ( \arctan \left ({bx{\frac{1}{\sqrt{ab}}}} \right ){x}^{4}a{b}^{2}e+3\,\arctan \left ({\frac{bx}{\sqrt{ab}}} \right ){x}^{4}{b}^{3}d+\sqrt{ab}{x}^{3}abe+3\,\sqrt{ab}{x}^{3}{b}^{2}d+2\,\arctan \left ({\frac{bx}{\sqrt{ab}}} \right ){x}^{2}{a}^{2}be+6\,\arctan \left ({\frac{bx}{\sqrt{ab}}} \right ){x}^{2}a{b}^{2}d-\sqrt{ab}x{a}^{2}e+5\,\sqrt{ab}xabd+\arctan \left ({bx{\frac{1}{\sqrt{ab}}}} \right ){a}^{3}e+3\,\arctan \left ({\frac{bx}{\sqrt{ab}}} \right ){a}^{2}bd \right ){\frac{1}{\sqrt{ab}}} \left ( \left ( b{x}^{2}+a \right ) ^{2} \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.52063, size = 621, normalized size = 3.98 \begin{align*} \left [\frac{2 \,{\left (3 \, a b^{3} d + a^{2} b^{2} e\right )} x^{3} -{\left ({\left (3 \, b^{3} d + a b^{2} e\right )} x^{4} + 3 \, a^{2} b d + a^{3} e + 2 \,{\left (3 \, a b^{2} d + a^{2} b e\right )} x^{2}\right )} \sqrt{-a b} \log \left (\frac{b x^{2} - 2 \, \sqrt{-a b} x - a}{b x^{2} + a}\right ) + 2 \,{\left (5 \, a^{2} b^{2} d - a^{3} b e\right )} x}{16 \,{\left (a^{3} b^{4} x^{4} + 2 \, a^{4} b^{3} x^{2} + a^{5} b^{2}\right )}}, \frac{{\left (3 \, a b^{3} d + a^{2} b^{2} e\right )} x^{3} +{\left ({\left (3 \, b^{3} d + a b^{2} e\right )} x^{4} + 3 \, a^{2} b d + a^{3} e + 2 \,{\left (3 \, a b^{2} d + a^{2} b e\right )} x^{2}\right )} \sqrt{a b} \arctan \left (\frac{\sqrt{a b} x}{a}\right ) +{\left (5 \, a^{2} b^{2} d - a^{3} b e\right )} x}{8 \,{\left (a^{3} b^{4} x^{4} + 2 \, a^{4} b^{3} x^{2} + a^{5} b^{2}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{d + e x^{2}}{\left (\left (a + b x^{2}\right )^{2}\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]